<template>
    <div>
      <div class="title">周末去哪儿</div>
      <ul>
        <router-link to="/detail">
        <li class="item border-bottom">
          <div class="item-img-wrapper">
            <img class="item-img" src='http://img1.qunarzz.com/sight/source/1505/9e/21df651e19af5d.jpg_r_640x214_3ea5bb38.jpg'/>
          </div>
          <div class="item-info">
            <p class="item-title">寻找西安的皇城范儿</p>
            <p class="item-desc">数百年的宫廷庙宇，至今依旧威严霸气</p>
          </div>
        </li>
        </router-link>
      </ul>
      <ul>
        <router-link to="/detail">
        <li class="item border-bottom">
          <div class="item-img-wrapper">
            <img class="item-img" src='http://img1.qunarzz.com/sight/source/1505/ce/bc89bc2f0e33ea.jpg_r_640x214_3e408453.jpg'/>
          </div>
          <div class="item-info">
            <p class="item-title">学生最爱的博物馆</p>
            <p class="item-desc">周末干嘛？西安很多博物馆已经免费开放啦</p>
          </div>
        </li>
        </router-link>
      </ul>
      <ul>
        <router-link to="/detail">
        <li class="item border-bottom">
          <div class="item-img-wrapper">
            <img class="item-img" src='http://img1.qunarzz.com/sight/source/1510/6e/1ea71e2f04e.jpg_r_640x214_aa6f091d.jpg'/>
          </div>
          <div class="item-info">
            <p class="item-title">西安温泉排行榜</p>
            <p class="item-desc">细数西安温泉，温暖你的冬天</p>
          </div>
        </li>
        </router-link>
      </ul>
    </div>
</template>

<script>
export default {
    name: 'HomeWeekend'
}
</script>

<style lang="stylus" scoped>
  @import '~@/assets/styles/mixins.styl'
  .title
    line-height: .4rem
    background: #eee
    text-indent: .2rem
  .item-img-wrapper
    overflow: hidden
    height: 0
    padding-bottom: 37.09%
    .item-img
      width: 100%
  .item-info
    padding: .1rem
    .item-title
      line-height: .54rem
      font-size: .32rem
      ellipsis()
    .item-desc
      line-height: .4rem
      color: #ccc
      ellipsis()

</style>